<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;

class AdminPermissionsTableSeeder extends Seeder
{

    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {
        

        \DB::table('admin_permissions')->delete();
        
        \DB::table('admin_permissions')->insert(array (
            0 => 
            array (
                'created_at' => NULL,
                'http_method' => '',
                'http_path' => '*',
                'id' => 1,
                'name' => 'All permission',
                'order' => 1,
                'parent_id' => 0,
                'slug' => '*',
                'updated_at' => '2021-03-02 13:22:29',
            ),
            1 => 
            array (
                'created_at' => NULL,
                'http_method' => 'GET',
                'http_path' => '/',
                'id' => 2,
                'name' => 'Dashboard',
                'order' => 2,
                'parent_id' => 0,
                'slug' => 'dashboard',
                'updated_at' => '2021-03-02 13:22:29',
            ),
            2 => 
            array (
                'created_at' => NULL,
                'http_method' => '',
                'http_path' => '/auth/login
/auth/logout',
                'id' => 3,
                'name' => 'Login',
                'order' => 3,
                'parent_id' => 0,
                'slug' => 'auth.login',
                'updated_at' => '2021-03-02 13:22:29',
            ),
            3 => 
            array (
                'created_at' => NULL,
                'http_method' => 'GET,PUT',
                'http_path' => '/auth/setting,/auth/switch-online',
                'id' => 4,
                'name' => 'User setting',
                'order' => 4,
                'parent_id' => 0,
                'slug' => 'auth.setting',
                'updated_at' => '2021-03-02 14:24:30',
            ),
            4 => 
            array (
                'created_at' => NULL,
                'http_method' => '',
                'http_path' => '/auth/roles
/auth/permissions
/auth/menu
/auth/logs',
                'id' => 5,
                'name' => 'Auth management',
                'order' => 5,
                'parent_id' => 0,
                'slug' => 'auth.management',
                'updated_at' => '2021-03-02 13:22:29',
            ),
            5 => 
            array (
                'created_at' => '2021-03-02 13:20:15',
                'http_method' => '',
                'http_path' => '/tt_test-forms*',
                'id' => 6,
                'name' => 'Base form',
                'order' => 6,
                'parent_id' => 0,
                'slug' => 'base_form',
                'updated_at' => '2021-03-02 13:22:29',
            ),
            6 => 
            array (
                'created_at' => '2021-03-02 13:21:50',
                'http_method' => '',
                'http_path' => '/tt_test-forms',
                'id' => 7,
                'name' => '查看自身分配表单',
                'order' => 8,
                'parent_id' => 6,
                'slug' => 'base_form.self',
                'updated_at' => '2021-03-02 14:23:08',
            ),
            7 => 
            array (
                'created_at' => '2021-03-02 13:22:15',
                'http_method' => '',
                'http_path' => '/tt_test-forms',
                'id' => 8,
                'name' => '查看分组所有表单',
                'order' => 9,
                'parent_id' => 6,
                'slug' => 'base_form.group',
                'updated_at' => '2021-03-02 14:23:38',
            ),
            8 => 
            array (
                'created_at' => '2021-03-02 13:22:59',
                'http_method' => '',
                'http_path' => '',
                'id' => 9,
                'name' => '删除表单',
                'order' => 10,
                'parent_id' => 6,
                'slug' => 'base_form.delete',
                'updated_at' => '2021-03-02 13:24:20',
            ),
            9 => 
            array (
                'created_at' => '2021-03-02 13:23:18',
                'http_method' => '',
                'http_path' => '',
                'id' => 10,
                'name' => '修改表单',
                'order' => 11,
                'parent_id' => 6,
                'slug' => 'base_form.update',
                'updated_at' => '2021-03-02 13:24:20',
            ),
            10 => 
            array (
                'created_at' => '2021-03-02 13:24:14',
                'http_method' => '',
                'http_path' => '/tt_test-forms',
                'id' => 11,
                'name' => '查看所有表单',
                'order' => 7,
                'parent_id' => 6,
                'slug' => 'base_form.all',
                'updated_at' => '2021-03-02 14:22:53',
            ),
        ));
        
        
    }
}